<?php

use think\migration\Seeder;

class BasicControlTypeData extends Seeder
{
    /**
     * 管控 - 类型
     */
    public function run()
    {
        $table = $this->table('basic_control_type');
        $rows  = [
            [
                'id'          => 1,
                'name'        => '工业减排',
                'delete_time' => '0',
            ],
            [
                'id'          => 2,
                'name'        => '车辆限行',
                'delete_time' => '0',
            ],
            [
                'id'          => 3,
                'name'        => '施工管控',
                'delete_time' => '0',
            ],
            [
                'id'          => 4,
                'name'        => '道路抑尘',
                'delete_time' => '0',
            ],
        ];
        $table->insert($rows)->save();
    }
}